<template>
  <el-dialog v-model="isUserEventShow" title="我的事件">
    <div class="demo-pagination-block">
      <el-table :data="getUserEventData" style="width: 100%">
        <el-table-column prop="event_driver" label="用户名"></el-table-column>
        <el-table-column prop="road_section_id" label="时间地址"></el-table-column>
        <el-table-column prop="event_date" label="发生时间"></el-table-column>
        <el-table-column prop="event_describe" label="事件描述"></el-table-column>
        <el-table-column prop="event_date" label="发生时间"></el-table-column>
        <el-table-column prop="event_car_number" label="用户车牌号"></el-table-column>
        <el-table-column label="审核状态">
          <template #default="{ row }">
            <template v-if="row.event_handle_status === 0">未审核 </template>
            <template v-else-if="row.event_handle_status === 1"> 已忽略 </template>
            <template v-else-if="row.event_handle_status === 2"> 已审核 </template>
          </template>
        </el-table-column>
      </el-table>
    </div>
  </el-dialog>
</template>

<script setup>
import { useMyEventHttp } from '../Hooks/useMyEventHttp'
const { getUserEventData, isUserEventShow } = useMyEventHttp()
</script>

<style lang="less" scoped></style>
